let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n165,
                    i =
                    (this && this.__extends) ||
                    ((_n165 = function n(t, e) {
                            return (_n165 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n165(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        }),
                    r =
                    (this && this.__decorate) ||
                    function(t, e, o, n) {
                        var i,
                            r = arguments.length,
                            a =
                            r < 3 ?
                            e :
                            null === n ?
                            (n = Object.getOwnPropertyDescriptor(e, o)) :
                            n;
                        if (
                            'object' ==
                            (typeof Reflect === 'undefined' ?
                                'undefined' :
                                typeof(Reflect)) &&
                            'function' == typeof Reflect.decorate
                        )
                            a = Reflect.decorate(t, e, o, n);
                        else
                            for (var s = t.length - 1; s >= 0; s--) {
                                (i = t[s]) &&
                                (a = (r < 3 ? i(a) : r > 3 ? i(e, o, a) : i(e, o)) || a);
                            }
                        return r > 3 && a && Object.defineProperty(e, o, a), a;
                    };
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.StorePanel = void 0);
                var a = t('UIViewRes'),
                    s = t('ComUtils'),
                    c = t('StoreType1Com'),
                    l = t('StoreType3Com'),
                    u = t('StoreType2Com'),
                    h = t('UILayer'),
                    p = t('AbsMainPanel'),
                    f = cc._decorator,
                    d = f.ccclass,
                    g =
                    (f.property,
                        (function(t) {
                            function e() {
                                return (null !== t && t.apply(this, arguments)) || this;
                            }
                            return (
                                i(e, t),
                                (e.prototype.onInit = function() {
                                    t.prototype.onInit.call(this),
                                        (this._scroll = s.default.getComponent(
                                            cc.ScrollView,
                                            this.view,
                                            'scrollView'
                                        )),
                                        (this._scroll.node.active = !0),
                                        (s.default.getNode(this.view, 'Item1').active = !1),
                                        (s.default.getNode(this.view, 'Item2').active = !1);
                                    var e = new c.StoreType1Com(
                                        s.default.getNode(
                                            this.view,
                                            'scrollView/view/content/type1'
                                        ),
                                        s.default.getNode(this.view, 'Item1')
                                    );
                                    this.addCom(e);
                                    var o = new u.StoreType2Com(
                                        s.default.getNode(
                                            this.view,
                                            'scrollView/view/content/type2'
                                        ),
                                        s.default.getNode(this.view, 'Item2')
                                    );
                                    this.addCom(o);
                                    var n = new l.StoreType3Com(
                                        s.default.getNode(
                                            this.view,
                                            'scrollView/view/content/type3'
                                        ),
                                        s.default.getNode(this.view, 'Item1')
                                    );
                                    this.addCom(n);
                                }),
                                (e.prototype.onShow = function() {
                                    switch ((t.prototype.onShow.call(this), this.getData())) {
                                        case 1:
                                            this.scrollToTop();
                                            break;

                                        case 2:
                                            this.scrollToBottom();
                                    }
                                }),
                                (e.prototype.scrollToTop = function() {
                                    this._scroll.scrollToTop(0.2);
                                }),
                                (e.prototype.scrollToBottom = function() {
                                    this._scroll.scrollToBottom(0.2);
                                }),
                                (e.RES = new a.UIViewRes(
                                    'Panel/StorePanelView',
                                    'Main',
                                    h.UILayer.BackLayer
                                )),
                                r([d('StorePanel')], e)
                            );
                        })(p.AbsMainPanel));
                (o.StorePanel = g), console.log("end");
            module.exports =  e.exports;